package com.tang.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class CategoryDTO {

    private String id;

    private String parent;

    @NotBlank
    private String name;

    @NotNull
    private Integer sort;
}
